package com.easy.web.utils;

/**
 * Created by JIAGaoYang on 2016/5/21.
 * 常量定义
 */
public abstract class EasyConstant {

    public static final String NOT_STR = "N";
    public static final String YES_STR = "Y";

    // 用户默认等级，会员1
    public static final String DEF_USER_LEVEL = "2D7FEB0E-4FEB-440D-B9AD-BA77E84906DA";  // VIP1


    // 消息类型
    public static final String MESSAGE_TYPE_1 = "1";  // 系统认证
    public static final String MESSAGE_TYPE_20 = "20";  // 聊天
    public static final String MESSAGE_TYPE_30 = "30";  // 弹幕
    public static final String MESSAGE_TYPE_50 = "50";  // 系统配置更新

    // 消息状态
    public static final String MESSAGE_STATUS_0 = "0"; // 未审核
    public static final String MESSAGE_STATUS_1 = "1"; // 已审核
    public static final String MESSAGE_STATUS_2 = "2"; // 删除消息(撤回消息)

    // 返回结果消息类型码前台  (!200 !404 !500 !400)
    public static final String VIEW_MESSAGE_TYPE_CODE_1 = "1";   // 历史消息
    public static final String VIEW_MESSAGE_TYPE_CODE_2 = "2";   // 所有用户
    public static final String VIEW_MESSAGE_TYPE_CODE_3 = "3";   // 上线通知
    public static final String VIEW_MESSAGE_TYPE_CODE_4 = "4";   // 用户离开通知
    public static final String VIEW_MESSAGE_TYPE_CODE_1005 = "1005";   // 敏感词拒绝
    public static final String VIEW_MESSAGE_TYPE_CODE_1005_MESSAGE = "包含敏感词";   // 敏感词拒绝
    public static final String VIEW_MESSAGE_TYPE_CODE_1100 = "1100";   // 踢人
    public static final String VIEW_MESSAGE_TYPE_CODE_1100_MESSAGE = "踢出房间";   // 踢出房间
    public static final String VIEW_MESSAGE_TYPE_CODE_1101 = "1101";   // 禁言
    public static final String VIEW_MESSAGE_TYPE_CODE_1101_MESSAGE = "禁言";   // 禁言
    public static final String VIEW_MESSAGE_TYPE_CODE_1201 = "1201";   // 及时策略，操作建议推送
    public static final String VIEW_MESSAGE_TYPE_CODE_1201_MESSAGE = "及时策略，操作建议推送";   // 及时策略，操作建议推送
    public static final String VIEW_MESSAGE_TYPE_CODE_50 = "50";   // 系统配置
    public static final String VIEW_MESSAGE_TYPE_CODE_50_MESSAGE = "系统配置信息";   // 及时策略，操作建议推送

    public static final String VIEW_MESSAGE_TYPE_CODE_1404 = "1404";   // 对方离线
    public static final String VIEW_MESSAGE_TYPE_CODE_1404_MESSAGE = "对方离线";   // 对方离线

    public static final int MAX_NOTE=20;  //历史聊天记录数

    /**
     * 系统配置
     */
    public static final String WEBSITE_SYS_CONFIG_TITLE="webName"; //网站名称
    public static final String WEBSITE_SYS_CONFIG_LOGO="webLogo"; //网站logo
    public static final String WEBSITE_SYS_CONFIG_KEYWORDS="keyWords"; //关键字
    public static final String WEBSITE_SYS_CONFIG_DESCRIPTION="description"; //描述
    public static final String WEBSITE_SYS_CONFIG_VIDEO_URL="videoUrl";//视频地址
    public static final String WEBSITE_SYS_CONFIG_NOTICE="announcement"; //公告
    public static final String WEBSITE_SYS_CONFIG_ASSISTANT_QQ="assistantQq";//助理qq
    public static final String WEBSITE_SYS_CONFIG_ASSISTANT_INTRODUCE="assistantIntro";//助理介绍
    public static final String WEBSITE_SYS_CONFIG_TALK_TIME="sendMsgTimer";//发言时间间隔
    public static final String WEBSITE_SYS_CONFIG_TALK_ONLINEMEMBERBASE="onlineMemberBase";//在线会员基数

//    public static final String WEBSITE_SYS_CONFIG_TEACHER="WEBSITE_SYS_CONFIG_TEACHER";//老师

    public static final String WEBSITE_SYS_CONFIG_CUSTOM_NAME="customName";//客服名称
    public static final String WEBSITE_SYS_CONFIG_CUSTOM_QQ="customQq";//客服qq
    public static final String WEBSITE_SYS_CONFIG_CUSTOM_INTRODUCE="customIntro";//客服介绍


    public static final String WEBSITE_SYS_CONFIG_ROLE_KICK="limitIp";//踢人权限
    public static final String WEBSITE_SYS_CONFIG_COURSE="courseTable";//课程
    public static final String WEBSITE_SYS_CONFIG_COURSE_TITLE_ROLE="limitVideoTitle";//标题权限
    public static final String WEBSITE_SYS_CONFIG_VIDEO_TITLE="videoTitle";//视频标题
    public static final String WEBSITE_SYS_CONFIG_VIP_SERVICE="memberService";//会员服务
    public static final String WEBSITE_SYS_CONFIG_BARRAGE_ROLE="limitBarrage";//弹幕权限
    public static final String WEBSITE_SYS_CONFIG_ADMIN_LOGIN_ROLE="limitMember";//后台登陆权限
    public static final String WEBSITE_SYS_CONFIG_ARTICLE_VIP_ROLE="limitTacticsAdvanced";//高级日刊权限
    public static final String WEBSITE_SYS_CONFIG_ARTICLE_ORD_ROLE="limitTacticsOrdinary";//普通日刊权限
    public static final String WEBSITE_SYS_CONFIG_SUGGEST_ORD_ROLE="limitSuggestMikedown";//麦下
    public static final String WEBSITE_SYS_CONFIG_SUGGEST_ONLINE_ROLE="limitSuggestMikeup";//麦上
    public static final String WEBSITE_SYS_CONFIG_OPERATE_FRONT_ROLE="limitSuggest";//前台操作权限

    public static final String WEBSITE_SYS_CONFIG_SAY_AUDIT="sayAudit";//发言审核开关
    public static final String WEBSITE_SYS_CONFIG_POSTER_IMG="posterImg";//海报图
    public static final String WEBSITE_SYS_CONFIG_EVALUATION="evaluation";//早时晚评

    public static final String WEBSITE_SYS_CONFIG_TAG1="WEBSITE_SYS_CONFIG_TAG1";//标签1
    public static final String WEBSITE_SYS_CONFIG_TAG2="WEBSITE_SYS_CONFIG_TAG2";//标签2
    public static final String WEBSITE_SYS_CONFIG_TAG3="WEBSITE_SYS_CONFIG_TAG3";//标签3
    public static final String WEBSITE_SYS_CONFIG_TAG4="WEBSITE_SYS_CONFIG_TAG4";//标签4

    //文章类型
    public static final String ARTICLE_TYPE_DIURNAL="1";//日刊
    public static final String ARTICLE_TYPE_NEWS="2";//资讯

    //禁封类型
    public static final String USER_DISABLE_ROOM="2";//提出房间
    public static final String USER_DISABLE_GAG="1";//禁言

    //加密类型
    public static final String SIGN_TYPE = "MD5";

    //支付状态
    public static final int PAY_STATUS_WAIT=1;//待支付
    public static final int PAY_STATUS_SUCCESS=2;//支付成功
    public static final int PAY_STATUS_REFUND=3;//退款单

    public static final int PAY_STATUS_IN_HAND=4;//处理中

    public static final int PAY_STATUS_FINISH=5;//处理完成


}
